package org.ct.utils;

import javax.swing.JOptionPane;

public class InfoDialogs {
	public static void showError(Throwable e) {
		JOptionPane.showMessageDialog(null, e.getLocalizedMessage(), "Error", JOptionPane.ERROR_MESSAGE);
	}

	public static void showError(String message) {
		JOptionPane.showMessageDialog(null, message, "Error", JOptionPane.ERROR_MESSAGE);
	}
}
